﻿<%@ Page Language="C#" MasterPageFile="~/web/pages/NhaTuyenDung.master" AutoEventWireup="true"
    CodeFile="nhatuyendung_edit_vieclamtrong.aspx.cs" Inherits="web_pages_nhatuyendung_edit_vieclamtrong"
    Title="Thay doi thong tin tuyen dung" %>

<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" language="javascript">
    
        
        
        // end init form
    
        function LoadTuyenDungBeforeSubmit(){
            var _value = "";
            var _text = "";
               var optionsSel;
             // list_noi_lam_viec
               optionsSel = document.getElementById('list_noi_lam_viec');
	            for (var i = 0; i < optionsSel.length; i++) {
                 _value = _value + optionsSel.options[i].value + '#';
	            }
            $('#ctl00_ContentPlaceHolder1_txt_list_noilamviec_hidden').val(_value);
            // con nguoi
            // @gioitinh#so luong#nang_tu#nang den# cao tu# cao_den#tuoi tu# tuoiden#mota
             _value = "";
            optionsSel = document.getElementById('list_con_nguoi');
	            for (var i = 0; i < optionsSel.length; i++) {
                 _value = _value + optionsSel.options[i].value + '@';
	            }
             $('#ctl00_ContentPlaceHolder1_txt_list_con_nguoi_hidden').val(_value);
             // ho khau
             _value = "";
            optionsSel = document.getElementById('list_ho_khau');
	            for (var i = 0; i < optionsSel.length; i++) {
                 _value = _value + optionsSel.options[i].value + '@';
	            }
             $('#ctl00_ContentPlaceHolder1_txt_list_hokhau_hidden').val(_value);
             // chuyen Mon
             _value = "";
            optionsSel = document.getElementById('cbb_list_chuyen_mon');
	            for (var i = 0; i < optionsSel.length; i++) {
                 _value = _value + optionsSel.options[i].value + '@';
	            }
             $('#ctl00_ContentPlaceHolder1_txt_cbb_list_chuyen_mon_hidden').val(_value);
             // nghiep vu
             _value = "";
            optionsSel = document.getElementById('list_nghiep_vu');
	            for (var i = 0; i < optionsSel.length; i++) {
                 _value = _value + optionsSel.options[i].value + '@';
	            }
             $('#ctl00_ContentPlaceHolder1_txt_list_nghiepvu_hidden').val(_value);
            // ky năng mềm
             _value = "";
            optionsSel = document.getElementById('list_ky_nang_mem');
	            for (var i = 0; i < optionsSel.length; i++) {
                 _value = _value + optionsSel.options[i].value + '@';
	            }
             $('#ctl00_ContentPlaceHolder1_cbb_list_ky_nang_mem_hidden').val(_value);
            // giay to
//             _value = "";
//            optionsSel = document.getElementById('list_giay_to');
//	            for (var i = 0; i < optionsSel.length; i++) {
//                 _value = _value + optionsSel.options[i].value + '@';
//	            }
//             $('#ctl00_ContentPlaceHolder1_cbb_list_giay_to_hidden').val(_value);
        
            // check value befor Sumbmit
            var errormess = "Có một số thiếu sót trong hồ sơ : \n ";
            var check = true;
             if( $('#ctl00_ContentPlaceHolder1_txt_tieu_de').val().length < 3 ){
                    check = false;
                    errormess += " \t - Tiêu Đề hồ sơ \n ";
              }
              if( $('#ctl00_ContentPlaceHolder1_txt_vi_tri_tuyen_dung').val().length < 3 ){
                    check = false;
                    errormess += " \t - Vị trí tuyển dụng \n ";
              }
              if( $('#ctl00_ContentPlaceHolder1_txt_chuc_danh_hidden').val().length < 1 ){
                    check = false;
                    errormess += " \t - Chức danh \n ";
              }
              if( $('#ctl00_ContentPlaceHolder1_txt_ngay_nhan_ho_so_dateInput_text').val().length < 8 ){
                    check = false;
                    errormess += " \t - Ngày Nhận Hồ Sơ \n ";
              }
              if( $('#ctl00_ContentPlaceHolder1_txt_ngay_cham_duc_dateInput_text').val().length < 8 ){
                    check = false;
                    errormess += " \t - Ngày hết hạn \n ";
              }
              if( $('#ctl00_ContentPlaceHolder1_txt_ngay_du_tuyen_dateInput_text').val().length < 8 ){
                    check = false;
                    errormess += " \t - Ngày Dự tuyển \n ";
              }
          
              
             
             if (check == false) 
             {
                return false;
             }
            
        }
    
    </script>

    <div class="vl_left_news_main_tt">
        Thay đổi nội dung tuyển dụng&nbsp;</div>
    <div id="accordion" class="ui-accordion ui-widget ui-helper-reset" role="tablist">
        <div>
            <h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top ui-state-focus"
                role="tab" aria-expanded="true" tabindex="0" style="left: 0px; top: 0px">
                <span class="ui-icon ui-icon-triangle-1-s"></span><a href="#" tabindex="-1">Bước 1 :
                    Nội Dung Tuyển Dụng </a>
            </h3>
            <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active"
                style="height: auto; left: 0px; top: 1px;" role="tabpanel">
                <div align="center">
                    <table style="width: 530px; text-align: left;">
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 14px; width: 106px;">
                                Tiêu Đề</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 14px">
                                <asp:TextBox ID="txt_tieu_de" runat="server" Width="100%"></asp:TextBox></td>
                            <td style="width: 3px; height: 14px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 14px; border-bottom: #ccc 1px dotted; width: 106px;">
                                Vị trí tuyển dụng</td>
                            <td style="height: 14px; border-bottom: #ccc 1px dotted;">
                                <asp:TextBox ID="txt_vi_tri_tuyen_dung" runat="server" Width="100%"></asp:TextBox></td>
                            <td style="width: 3px; height: 14px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 15px; border-bottom: #ccc 1px dotted; width: 106px;">
                                Chức danh</td>
                            <td style="height: 15px; border-bottom: #ccc 1px dotted;">
                                <input id="txt_chuc_danh" value="<%=vltComm.getTenChucDanh(objVLT.ma_chuc_danh) %>"
                                    style="float: left; width: 352px;" type="text" />
                                <span class="ui-icon ui-icon-circle-zoomin" onclick="loadChucDanh('NULL')" style="cursor: pointer;">
                                </span>
                                <asp:HiddenField ID="txt_chuc_danh_hidden" runat="server" />
                            </td>
                            <td style="height: 15px; width: 3px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 37px; width: 106px;">
                                Mô tả công việc</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 37px">
                                <asp:TextBox ID="txt_mo_ta_cong_viec" runat="server" Rows="4" TextMode="MultiLine"
                                    Width="100%"></asp:TextBox></td>
                            <td style="width: 3px">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 8px; width: 106px;">
                                Thời gian làm việc</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 8px">
                                <asp:DropDownList ID="cbb_thoi_gian_lam_viec" runat="server">
                                </asp:DropDownList></td>
                            <td style="width: 3px; height: 8px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 29px; border-bottom: #ccc 1px dotted; width: 106px;">
                                Nơi làm việc</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 29px">
                                <select id="list_noi_lam_viec" multiple="multiple" size="4" style="margin-right: 4px;
                                    width: 210px; float: left;">
                                </select>
                                <asp:DropDownList ID="cbb_list_noilamviec" runat="server" Width="189px">
                                </asp:DropDownList>
                                <a class="ui-state-default ui-corner-all" onclick="addItem('list_noi_lam_viec',$('#ctl00_ContentPlaceHolder1_cbb_list_noilamviec :selected').val(),$('#ctl00_ContentPlaceHolder1_cbb_list_noilamviec :selected').text())"
                                    href="javascript:void(0);" style="float: left; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Thêm Vào</a>
                                <a class="ui-state-default ui-corner-all" onclick="removeItems('list_noi_lam_viec');"
                                    href="javascript:void(0);" style="float: left; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Bỏ ra</a>
                                <asp:HiddenField ID="txt_list_noilamviec_hidden" runat="server" />
                            </td>
                            <td style="height: 29px; width: 3px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 4px; width: 106px;">
                                Số lượng tuyển</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 4px">
                                <rad:RadNumericTextBox ID="txt_so_luong_tuyen" runat="server" MinValue="1" Value="1"
                                    Width="64px">
                                    <NumberFormat AllowRounding="True" DecimalDigits="0" />
                                </rad:RadNumericTextBox>
                            </td>
                            <td style="width: 3px; height: 4px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 6px; width: 106px;">
                                Ngày bắt đầu nhận hồ sơ</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 6px">
                                <div style="width: 150px !important; float: left;">
                                    <rad:RadDatePicker ID="txt_ngay_nhan_ho_so" runat="server" Skin="" Width="142px" EnableTyping="False">
                                        <DateInput Skin="" ReadOnly="True" DateFormat="dd/MM/yyyy">
                                        </DateInput>
                                    </rad:RadDatePicker>
                                </div>
                                Nơi nhận
                                <asp:TextBox ID="txt_noi_nhan_ho_so" runat="server" Width="196px"></asp:TextBox></td>
                            <td style="width: 3px; height: 6px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 4px; width: 106px;">
                                Ngày chấm dức nhận hồ sơ</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 4px">
                                <div style="width: 150px !important;">
                                    <rad:RadDatePicker ID="txt_ngay_cham_duc" runat="server" Skin="" Width="142px"
                                        EnableTyping="False">
                                        <DateInput DateFormat="dd/MM/yyyy" Skin="" ReadOnly="True">
                                        </DateInput>
                                    </rad:RadDatePicker>
                                </div>
                            </td>
                            <td style="width: 3px; height: 4px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px; width: 106px;">
                                Ngày dự tuyển</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px">
                                <div style="width: 150px !important; float: left;">
                                    <rad:RadDatePicker ID="txt_ngay_du_tuyen" runat="server" Skin="" Width="142px"
                                        EnableTyping="False">
                                        <DateInput DateFormat="dd/MM/yyyy" Skin="" ReadOnly="false">
                                        </DateInput>
                                    </rad:RadDatePicker>
                                </div>
                                Nơi dự tuyển<asp:TextBox ID="txt_noi_du_tuyen" runat="server" Width="178px"></asp:TextBox></td>
                            <td style="width: 3px; height: 24px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 47px; border-bottom: #ccc 1px dotted; width: 106px;">
                                Mức lương</td>
                            <td style="height: 47px; border-bottom: #ccc 1px dotted;">
                                <p id="muc_luong_div" class="ui-widget-content ui-corner-all" style="padding: 4px;
                                    margin: 5px;">
                                    Từ
                                    <rad:RadNumericTextBox ID="txt_luong_tu" runat="server" MinValue="0" Width="101px"
                                        Value="0">
                                        <NumberFormat AllowRounding="True" DecimalDigits="0" />
                                    </rad:RadNumericTextBox>
                                    Đến
                                    <rad:RadNumericTextBox ID="txt_luong_den" runat="server" MinValue="0" Width="101px"
                                        Value="0">
                                        <NumberFormat AllowRounding="True" DecimalDigits="0" />
                                    </rad:RadNumericTextBox>
                                    <asp:DropDownList ID="cbb_kieu_tien" runat="server">
                                        <asp:ListItem>VND</asp:ListItem>
                                        <asp:ListItem>USD</asp:ListItem>
                                    </asp:DropDownList></p>
                                &nbsp;<asp:CheckBox ID="chk_luong_thoa_thuan" runat="server" Text="Lương Thoả Thuận" />
                            </td>
                            <td style="width: 3px; height: 47px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 106px; border-bottom: #ccc 1px dotted; height: 47px">
                                Quyền lợi</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 47px">
                                <asp:TextBox ID="txt_quyen_loi" runat="server" Rows="4" TextMode="MultiLine" Width="100%"></asp:TextBox></td>
                            <td style="width: 3px; height: 47px">
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div>
            <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" role="tab"
                aria-expanded="false" tabindex="-1">
                <span class="ui-icon ui-icon-triangle-1-e"></span><a href="#" tabindex="-1">Bước 2 :
                    Nhập thông tin yêu cầu đối với ứng viên&nbsp;</a></h3>
            <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"
                style="height: auto; display: none;" role="tabpanel">
                <div align="center">
                    <table style="width: 530px; text-align: left;">
                        <tr>
                            <td style="width: 113px; border-bottom: #ccc 1px dotted; height: 72px;">
                                Yêu cầu con người</td>
                            <td style="width: 408px; border-bottom: #ccc 1px dotted; height: 72px;">
                                <select id="list_con_nguoi" style="float: left; margin-right: 4px; width: 100%; height: 46px;"
                                    multiple="multiple">
                                </select>
                                <a class="ui-state-default ui-corner-all" onclick="removeItems('list_con_nguoi');"
                                    href="javascript:void(0);" style="float: right; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Bỏ Ra</a>
                                <a id="call_dialog_connguoi" class="ui-state-default ui-corner-all" href="javascript:void(0);"
                                    style="float: right; margin: 2px; padding: 2px;"><span class="ui-icon ui-icon-circle-zoomin"
                                        style="float: left;"></span>Thêm một yêu cầu về người </a>
                                <asp:HiddenField ID="txt_list_con_nguoi_hidden" runat="server" />
                            </td>
                            <td style="height: 72px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 113px; border-bottom: #ccc 1px dotted; height: 19px;">
                                Yêu Cầu Hộ Khâu ứng viên:</td>
                            <td style="width: 408px; border-bottom: #ccc 1px dotted; height: 19px;">
                                <select id="list_ho_khau" multiple="multiple" size="4" style="margin-right: 4px;
                                    width: 207px; float: left;">
                                </select>
                                <asp:DropDownList ID="cbb_list_ho_khau" runat="server" Width="189px">
                                </asp:DropDownList>
                                <a class="ui-state-default ui-corner-all" onclick="addItem('list_ho_khau',$('#ctl00_ContentPlaceHolder1_cbb_list_ho_khau :selected').val(),$('#ctl00_ContentPlaceHolder1_cbb_list_ho_khau :selected').text())"
                                    href="javascript:void(0);" style="float: left; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Thêm Vào</a>
                                <a class="ui-state-default ui-corner-all" onclick="removeItems('list_ho_khau');"
                                    href="javascript:void(0);" style="float: left; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Bỏ ra</a>
                                <asp:HiddenField ID="txt_list_hokhau_hidden" runat="server" />
                            </td>
                            <td style="height: 19px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 113px; border-bottom: #ccc 1px dotted; height: 22px;">
                                Yêu cầu chuyên môn</td>
                            <td style="width: 408px; border-bottom: #ccc 1px dotted; height: 22px;">
                                <select id="cbb_list_chuyen_mon" style="float: left; margin-right: 4px; width: 100%;"
                                    multiple="multiple" size="4">
                                </select>
                                <a class="ui-state-default ui-corner-all" onclick="removeItems('cbb_list_chuyen_mon');"
                                    href="javascript:void(0);" style="float: right; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Bỏ Ra</a>
                                <a id="call_dialog_chuyen_mon" onclick="loadChuyenMon('NULL');" class="ui-state-default ui-corner-all"
                                    href="javascript:void(0);" style="float: right; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Thêm một yêu
                                    cầu chuyên môn&nbsp;</a>
                                <asp:HiddenField ID="txt_cbb_list_chuyen_mon_hidden" runat="server" />
                            </td>
                            <td style="height: 22px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 113px; border-bottom: #ccc 1px dotted;">
                                Yêu cầu nghiệp vụ</td>
                            <td style="width: 408px; border-bottom: #ccc 1px dotted;">
                                <select id="list_nghiep_vu" style="float: left; margin-right: 4px; width: 100%;"
                                    multiple="multiple" size="4">
                                </select>
                                <a class="ui-state-default ui-corner-all" onclick="removeItems('list_nghiep_vu');"
                                    href="javascript:void(0);" style="float: right; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Bỏ Ra</a>
                                <a id="A2" class="ui-state-default ui-corner-all" href="javascript:void(0);" onclick="loadNghiepVu();"
                                    style="float: right; margin: 2px; padding: 2px;"><span class="ui-icon ui-icon-circle-zoomin"
                                        style="float: left;"></span>Thêm một nghiệp vụ&nbsp;</a>
                                <asp:HiddenField ID="txt_list_nghiepvu_hidden" runat="server" />
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 113px; border-bottom: #ccc 1px dotted; height: 73px;">
                                Yêu cầu kỹ năng mềm
                            </td>
                            <td style="width: 408px; border-bottom: #ccc 1px dotted; height: 73px;">
                                <select id="list_ky_nang_mem" multiple="multiple" size="4" style="margin-right: 4px;
                                    width: 207px; float: left;">
                                </select>
                                <asp:DropDownList ID="cbb_list_ky_nang_mem" runat="server" Width="189px">
                                </asp:DropDownList>
                                <a class="ui-state-default ui-corner-all" onclick="addItem('list_ky_nang_mem',$('#ctl00_ContentPlaceHolder1_cbb_list_ky_nang_mem :selected').val(),$('#ctl00_ContentPlaceHolder1_cbb_list_ky_nang_mem :selected').text())"
                                    href="javascript:void(0);" style="float: left; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Thêm Vào</a>
                                <a class="ui-state-default ui-corner-all" onclick="removeItems('list_ky_nang_mem');"
                                    href="javascript:void(0);" style="float: left; margin: 2px; padding: 2px;"><span
                                        class="ui-icon ui-icon-circle-zoomin" style="float: left;"></span>Bỏ ra</a>
                                <asp:HiddenField ID="cbb_list_ky_nang_mem_hidden" runat="server" />
                            </td>
                            <td style="height: 73px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 113px; border-bottom: #ccc 1px dotted; height: 56px;">
                                Yêu cầu giấy tờ
                            </td>
                            <td style="width: 408px; border-bottom: #ccc 1px dotted; height: 56px;">
                                <asp:TextBox ID="txt_giay_to" runat="server" Height="74px" TextMode="MultiLine" Width="401px"></asp:TextBox></td>
                            <td style="height: 56px">
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div>
            <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" role="tab"
                aria-expanded="false" tabindex="-1">
                <span class="ui-icon ui-icon-triangle-1-e"></span><a href="#" tabindex="-1">Bước 3 :
                    Hoàn tất Hồ Sơ Tuyển Dụng</a></h3>
            <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"
                style="height: auto; display: none;" role="tabpanel">
                <div align="center">
                    <table style="width: 530px; text-align: left;">
                        <tr>
                            <td style="width: 110px; border-bottom: #ccc 1px dotted; height: 24px">
                                Yêu cầu khác</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px">
                                <asp:TextBox ID="txt_yeu_cau_khac" runat="server" Height="87px" TextMode="MultiLine"
                                    Width="100%"></asp:TextBox></td>
                            <td style="width: 3px">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px; width: 110px;">
                                Loại Tuyển dụng</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px">
                                <asp:DropDownList ID="cbb_loai_vlt" runat="server" Width="212px">
                                </asp:DropDownList></td>
                            <td style="width: 3px">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px; width: 110px;">
                                Nguồn việc làm</td>
                            <td style="border-bottom: #ccc 1px dotted; height: 24px">
                                <asp:DropDownList ID="cbb_nguon_vlt" runat="server" Width="212px">
                                </asp:DropDownList></td>
                            <td style="width: 3px">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 24px; border-bottom: #ccc 1px dotted; width: 110px;">
                                Hiển thị</td>
                            <td style="height: 24px; border-bottom: #ccc 1px dotted;">
                                <asp:CheckBox ID="chk_kich_hoat" runat="server" Text="Cho phép đăng tuyển dụng kể từ bây giờ" /></td>
                            <td style="width: 3px; height: 24px;">
                            </td>
                        </tr>
                    </table>
                    <br />
                    <asp:Button ID="btn_ok" CssClass="ui-corner-all ui-state-default" runat="server"
                        OnClientClick="return LoadTuyenDungBeforeSubmit();" Text="Xác Nhận - Hoàn tất thông tin Tuyển Dụng"
                        Height="27px" OnClick="btn_ok_Click" />
                    <br />
                </div>
            </div>
        </div>
    </div>
    <%--Dialog Setup--%>
    <div>
        <div id="dialog" class="ui-dialog-content ui-widget-content" style="height: auto;
            min-height: 61px; width: auto;">
            <br />
            Tỉnh / TP
            <asp:DropDownList ID="cbb_tinhthanh" runat="server">
            </asp:DropDownList>
            Quận / Huyện <span id="ajax_qh">
                <asp:DropDownList ID="cbb_quanhuyen" runat="server" onclick="loadPX()">
                </asp:DropDownList>
            </span>Phường / Xã <span id="ajax_px">
                <asp:DropDownList ID="cbb_phuongxa" runat="server">
                </asp:DropDownList>
            </span>
        </div>
        <div id="dialog_connguoi" class="ui-dialog-content ui-widget-content" style="height: auto;
            min-height: 61px; width: auto;">
            <table style="width: 562px">
                <tr>
                    <td style="height: 16px; width: 25%; border-bottom: #ccc 1px dotted;">
                        Giới tính</td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        <select id="cbb_nguoi_gioitinh" style="width: 82px">
                            <option selected="selected" value="-1" > Nam/Nữ </option>
                            <option value="1" > Nam </option>
                            <option value="0" > Nữ </option>
                        </select>
                    </td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        Số Lượng</td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        <rad:RadNumericTextBox ID="txt_nguoi_so_luong" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                </tr>
                <tr>
                    <td style="height: 16px; width: 25%; border-bottom: #ccc 1px dotted;">
                        Chiều cao</td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        Từ
                        <rad:RadNumericTextBox ID="txt_nguoi_cao_tu" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        Đến
                        <rad:RadNumericTextBox ID="txt_nguoi_cao_den" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        <em>DVT : <strong>cm</strong></em></td>
                </tr>
                <tr>
                    <td style="height: 16px; width: 25%; border-bottom: #ccc 1px dotted;">
                        Cân nặng</td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        Từ
                        <rad:RadNumericTextBox ID="txt_nguoi_nang_tu" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        Đến
                        <rad:RadNumericTextBox ID="txt_nguoi_nang_den" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                    <td style="width: 25%; height: 16px; border-bottom: #ccc 1px dotted;">
                        <em>DVT : <strong>kg</strong></em></td>
                </tr>
                <tr>
                    <td style="width: 25%; border-bottom: #ccc 1px dotted; height: 16px">
                        Độ tuổi</td>
                    <td style="width: 25%; border-bottom: #ccc 1px dotted; height: 16px;">
                        Từ
                        <rad:RadNumericTextBox ID="txt_nguoi_tuoi_tu" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                    <td style="width: 25%; border-bottom: #ccc 1px dotted; height: 16px;">
                        Đến
                        <rad:RadNumericTextBox ID="txt_nguoi_tuoi_den" runat="server" MinValue="1" Value="1"
                            Width="64px">
                            <NumberFormat AllowRounding="True" DecimalDigits="0" />
                        </rad:RadNumericTextBox></td>
                    <td style="width: 25%; border-bottom: #ccc 1px dotted; height: 16px;">
                    </td>
                </tr>
                <%--<tr>
                    <td style="width: 25%; border-bottom: #ccc 1px dotted; height: 16px">
                        Mo tả khác</td>
                    <td colspan="3" style="width: 25%; border-bottom: #ccc 1px dotted; height: 16px">
                        <textarea id="txt_nguoi_mota" style="width: 409px; height: 58px"></textarea></td>
                </tr>--%>
            </table>
        </div>
        <div id="dialog_chucdanh" class="ui-dialog-content ui-widget-content" style="height: auto;
            min-height: 61px; max-height: 400px; overflow: auto; overflow-x: none; width: auto;
            text-align: left;">
        </div>
        <div id="dialog_chuyenmon" class="ui-dialog-content ui-widget-content" style="height: auto;
            min-height: 61px; max-height: 400px; overflow: auto; overflow-x: none; width: auto;
            text-align: left;">
        </div>
        <div id="dialog_nghiepvu" class="ui-dialog-content ui-widget-content" style="height: auto;
            min-height: 41px; width: auto; text-align: left;">
        </div>
    </div>
    <script >
        // init form
        // noi lam viec
              
        <%
        if(noilamviec!=null)
        for (int i = 0; i < noilamviec.Length-1; i++)
        {
        %>
            addItem('list_noi_lam_viec','<%=noilamviec[i]%>','<%=vltComm.getTenThanhPho(noilamviec[i])%>');
        <%
        }
        if(yeucauhokhau!=null)
        for (int i = 0; i < yeucauhokhau.Length-1; i++)
        {
        %>
            addItem('list_ho_khau','<%=yeucauhokhau[i]%>','<%=vltComm.getTenThanhPho(yeucauhokhau[i])%>');
        <%
        }
         if(yeucaunguoi!=null)
        for (int i = 0; i < yeucaunguoi.Length; i++)
        {
        %>
            addItem('list_con_nguoi','<%=yeucaunguoi[i]%>','<%=yeucaunguoiText[i]%>');
        <%
        }
        if(yeucauchuyenmon!=null)
        for (int i = 0; i < yeucauchuyenmon.Length; i++)
        {
        %>
            addItem('cbb_list_chuyen_mon','<%=yeucauchuyenmon[i]%>','<%=yeucauchuyenmonText[i]%>');
        <%
        }
        if(yeucaunghiepvu!=null)
        for (int i = 0; i < yeucaunghiepvu.Length; i++)
        {
        %>
            addItem('list_nghiep_vu','<%=yeucaunghiepvu[i]%>','<%=yeucaunghiepvuText[i]%>');
        <%
        }
        if(yeucaukynangmem!=null)
        for (int i = 0; i < yeucaukynangmem.Length; i++)
        {
        %>
            addItem('list_ky_nang_mem','<%=yeucaukynangmem[i]%>','<%=yeucaukynangmemText[i]%>');
        <%
        }
        %> 
        
        
    </script>
</asp:Content>
